<cfset types=application.reactor.createGateway("types")>
<cfset qryTypes=types.getAll()>
<h1>Ticket Types</h1>
<p>This is a list of available ticket types.</p>

<!--- output the table here --->
<table class="listing">
	<thead>
		<tr>
			<th><a href="">Ticket Type</a></th>
			<th><a href="">SortOrder</a></th>
		</tr>
	</thead>
	<tbody>
		<cfoutput query="qryTypes">
			<cfif currentRow Mod 2>
				<cfset class="odd">
			<cfelse>
				<cfset class="even">
			</cfif>
			<tr class="#class#">
				<td><a href="#myself#cAdmin.typeDetails&typeID=#typeID#">#type#</td>
				<td>#sortOrder#</td>
			</tr>
		</cfoutput>
	</tbody>
</table>